home *** CD-ROM | disk | FTP | other *** search
/ Windows 6-Pak - Disc 5 / Windows 6-Pak (InfoMagic) (Disc 5) (1999).ISO / C&C++Tools / BVCW95.ZIP / DOC.ZIP / README.TXT < prev    next >
Encoding:
Text File  |  1998-02-04  |  8.7 KB  |  214 lines

  1.       ┌───────────────────────────────────────────────────────────────┐
  2.       │                                                               │
  3.       │                      OptiVec for C / C++                      │
  4.       │                   by Martin Sander 1996-1999                  │
  5.       │                                                               │
  6.       │                     Shareware Version 1.4                     │
  7.       └───────────────────────────────────────────────────────────────┘
  8.  
  9.  
  10. 1. Introduction
  11. ---------------
  12. Vector functions instead of loops - if it matters to you how fast and how
  13. accurate your data are processed!
  14. The largest portion of almost all programs processing numerical data
  15. consists of loops. Replace these loops by the specialized vector
  16. and matrix functions of OptiVec, and exploit all the advantages of
  17. vectorized programming:
  18.  
  19. - OptiVec was almost entirely written in Assembly language. The result is a
  20.   highly optimized and numerically accurate code, running 2-3 times faster
  21.   than compiled loops.
  22.  
  23. - fully vectorized forms of all operators and functions of the language
  24.   C/C++ for all integer and floating-point (including complex!) data types
  25.  
  26. - Additionally many other real and complex math functions, statistics,
  27.   analysis, FFT techniques, graphics - in total more than 3000!
  28.  
  29. - Simple and logical syntax, for example
  30.   "VF_exp( Y, X, size );"      for Y[i] = exp( X[i] ) with "float" arrays,
  31.   "VD_FFT( Y, X, size, 1 );"   for double-precision forward FFT
  32.   "ME_mulM( MZ, MX, MY, htX, lenX, lenY );"
  33.                                for extended-precision matrix multiplication
  34.  
  35. 2. System requirements
  36. ----------------------
  37. This version of OptiVec is designed for IBM AT, PS/2 or compatibles,
  38. equipped at least with a 80386 CPU and a 80387 coprocessor
  39. (Visual C++ version: at least 486DX).
  40. Depending on your choice when ordering or downloading,
  41. - either for Borland C++ (Turbo C++), version 3.0 or higher, memory
  42.   models Win32, Windows-LARGE, or  DOS-LARGE
  43. - or for Microsoft Visual C++, version 5.0 or higher, "single-thread debug"
  44.   or "multi-thread debug"
  45.  
  46. Registered version for Borland C/C++:
  47. all memory models; separate libraries optimized for all processors from
  48. 486DX/Pentium down to 286 with or without coprocessor.
  49.  
  50. Registered version for Microsoft Visual C++:
  51. all PC models using the "single-thread", "multi-thread", or
  52. "multi-thread DLL" run-time libraries, both for debug and release.
  53.  
  54. 3. Installation
  55. ---------------
  56. Please run the installation program INSTALL.EXE. If anything goes wrong,
  57. you may try the following:
  58.    a) Create the directory where you want OptiVec to reside.
  59.    b) Manually unzip the file DOC.ZIP into it.
  60.    c) Create a sub-directory /LIB and unzip the file LIB.ZIP into it.
  61.    d) Create a sub-directory /INCLUDE and unzip the file INCLUDE.ZIP into it.
  62. If you don't succeed that way, you probably got a corrupted download.
  63. Please download again. If even that does not help, please contact:
  64. MartinSander@Bigfoot.com.
  65.  
  66. After you completed the installation, you must set the library search path
  67. and the include-file search path according to your OptiVec directory choice:
  68. Add these paths to the standard settings in the menu
  69. "Options/Project/Directories" of Borland C 4.x and 5.x, or
  70. "Options/Directories" in Borland C++ 3.x.
  71. (Remember: a semicolon is used to separate entries in these fields.)
  72.  
  73. 4. Running the examples
  74. -----------------------
  75.  
  76. Check your installation by compiling and running the appropriate demo file.
  77. Follow the instructions in the header of that file.
  78. If you get compiler errors like "Cannot open include file ...", or a
  79. linker error "Unresolved external", you probably did not set the library
  80. and include paths correctly.
  81.  
  82. OptiVec for Borland C/C++:
  83.   VDEMO.CPP   is a DOS program,
  84.   VDEMOW.CPP  is for Windows with Borland C++ 5.0 or higher.
  85.   Separate versions of the Windows demo program are supplied for
  86.   older BC versions:
  87.   VDEMOW1.CPP is for Borland C++ 3.x with OWL 1.0
  88.   VDEMOW2.CPP is for Borland C++ 4.0 with OWL 2.0
  89.  
  90.  
  91.   For DOS, create a project containing
  92.      VDEMO.CPP,  VCL3.LIB, and  GRAPHICS.LIB.
  93.      Choose the application either as DOS Standard or as DOS Overlay.
  94.      VCL3.LIB may or may not be used as an overlay (option to be set:
  95.      "Project/Local Options/Overlay this module").
  96.      Choose the memory  model LARGE.
  97.      Check the floating-point options. Neither "No floating-point" nor
  98.      "Floating-point emulation" should be selected.
  99.  
  100.   For 16-bit Windows with Borland C++ 3.x and OWL 1.0
  101.       create a project containing
  102.       VDEMOW1.CPP,  VCL3W.LIB, and OWL.DEF.
  103.       Choose the application as Windows-EXE, model LARGE.
  104.       Choose the memory model LARGE and 287 floating-point operations
  105.  
  106.   For 16-bit Windows with Borland C++ 4.x and OWL 2.0
  107.       create a project containing
  108.       VDEMOW2.CPP and VCL3W.LIB.
  109.       In the TargetExpert, choose as target
  110.         Application [.EXE]  for Windows 3.x, model LARGE.
  111.         Tick the boxes for Standard Libraries OWL, ClassLibrary, and Runtime.
  112.         Use, as you prefer, either Dynamic or Static linking.
  113.  
  114.   For Windows95, 98 or NT with Borland C++ 4.x and OWL 2.0
  115.       create a project containing
  116.       VDEMOW2.CPP and VCF3W.LIB.
  117.       In the TargetExpert, choose as target
  118.         Application [.EXE]  for Win32, GUI model.
  119.         Tick the boxes for Standard Libraries OWL, ClassLibrary, and Runtime.
  120.         Use Static linking and Single-Thread (which means: don't check the
  121.         Multithread box).
  122.  
  123.   For 16-bit Windows with Borland C++ 4.x, 5.x or higher (without OWL)
  124.       create a project containing
  125.       VDEMOW.CPP and VCL3W.LIB.
  126.       In the TargetExpert, choose as target
  127.         Application [.EXE]  for Windows 3.x, model LARGE.
  128.         Tick the boxes for Standard Libraries ClassLibrary, and Runtime.
  129.         Use, as you prefer, either Dynamic or Static linking.
  130.  
  131.   For Windows95, 98 or NT with Borland C++ 4.x, 5.x or higher (without OWL)
  132.       create a project containing
  133.       VDEMOW.CPP and VCF3W.LIB.
  134.       In the TargetExpert, choose as target
  135.         Application [.EXE]  for Win32, GUI model.
  136.         Tick the boxes for Standard Libraries ClassLibrary, and Runtime.
  137.         Use Static linking and Single-Thread
  138.  
  139.  
  140. OptiVec for Microsoft Visual C++:
  141.     create a project as a "Win32 application", containing
  142.     VDEMOW.CPP  and  OVVCSD.LIB.
  143.     Choose single-thread debug.
  144.  
  145. Data-fitting functions demo:
  146.     There is a demo file for the data-fitting functions, FITDEMO.CPP.
  147.     You can use it with Borland C++ (4.x or higher) or Visual C++,
  148.     under Windows 3.1 or Windows 95/98/NT.
  149.     Follow the instructions given above for VDEMOW.CPP, replacing
  150.     VDEMOW.CPP by FITDEMO.CPP.
  151.     With 16-bit BC++, you must additionally include the library MCL3W.LIB.
  152.  
  153.  
  154. 5. Documentation
  155. ----------------
  156. The full OptiVec documentation is to be found in the files
  157. HANDBOOK.TXT, FUNCREF.TXT, MATRIX.TXT, and CMATH.TXT as ASCII text.
  158. If you want to load the documentation into a word processor under Windows,
  159. you must use the filter "ASCII text" or "DOS text".
  160.  
  161.  
  162. 6. Copyright
  163. ------------
  164. The copyright owner of this product as a whole and of all its constituent
  165. parts is
  166.          Dr. Martin Sander Software Development
  167.          Serturnerstr. 11
  168.          D-37085 Goettingen
  169.          Germany
  170.          e-mail: MartinSander@Bigfoot.com
  171.  
  172. This Shareware version of OptiVec is freely distributable in unchanged form.
  173. For the distribution of applications created using OptiVec, you need the
  174. registered version. The detailed licence terms are described in chapter 1.2
  175. of the file HANDBOOK.TXT.
  176.  
  177.  
  178. 7. Registered Version
  179. ---------------------
  180. If you like OptiVec and decide to use it, please be fair and register.
  181. The registered version
  182.  
  183. -  supports all memory models of Windows95, NT, 3.x, and DOS of Borland C++,
  184.    or all PC debug and release targets of Visual C++, respectively.
  185.  
  186. -  has individually optimized libraries for each degree of processor
  187.    backward-compatibility (Borland C++ only):
  188.       486DX/Pentium+
  189.       386+ (387 coprocessor required)
  190.       286+ (no coprocessor required).
  191.  
  192. -  comes with printed documentation.
  193.  
  194. -  entitles you to two free updates.
  195.  
  196. -  costs USD 199 for the commercial edition,
  197.          USD  89 for the educational edition,
  198.    and can be ordered by e-mail from the author or through the
  199.    following secure-server Internet sites:
  200.  
  201.    Atlantic Coast's SoftShop:
  202.    http://www.soft-shop.com/cgi-bin/order.html?136
  203.  
  204.    ShareIt:
  205.    http://www.shareit.com/programs/101557.htm  
  206.    http://www.shareit.com/deutsch/programs/101556.htm
  207.  
  208. See chapter 1.3 of the file HANDBOOK.TXT for further details about
  209. ordering.
  210.  
  211.  
  212.     * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  213.  
  214.